<template>
  <el-dialog title="页面源代码" v-model="show" width="1000px" :append-to-body="true" :close-on-press-escape="true"
             :close-on-click-modal="true">
    <el-tabs>
      <el-tab-pane label="vue源代码" name="vue"></el-tab-pane>
      <el-tab-pane label="Java Controller" name="controller"></el-tab-pane>
      <el-tab-pane label="Java Service" name="service"></el-tab-pane>
      <el-tab-pane label="Java Entity" name="entity"></el-tab-pane>
      <el-tab-pane label="Java Dao" name="dao"></el-tab-pane>
    </el-tabs>
  </el-dialog>
</template>

<script>
export default {
  mixins: [],
  components: {
  },
  data() {
    return {
      show: false
    }
  },
  props: {},
  setup() {
  },
  mounted() {
  },
  methods: {
    /**
     * 打开对话框
     */
    open(param) {
      this.show = true
      this.option = JSON.parse(JSON.stringify(param.option))
    },
    /**
     * 关闭对话框
     */
    close() {
      this.show = false
    }
  },
  watch: {}
}
</script>
<style scoped lang="scss">
</style>
